export default {
  'post /api/user/detail': (req, res) => {
    res.json({
      status: 200,
      data: {
        id: 10,
        username: '奶油',
        avatar: 'https://cdn.pixabay.com/photo/2017/01/20/14/58/iceland-1995039__340.jpg',
        tel: 123456789001,
        sign: '花桥流水'
      }
    });
  },
  'post /api/user/edit': (req, res) => {
    res.json({
      status: 200,
      data: 'ok'
    });
  },
  'post /api/user/login': (req, res) => {
    res.json({
      status: 200,
      data: {
        id: 100,
        username: 'admin'
      }
    });
  },
  'post /api/user/register': (req, res) => {
    res.json({
      status: 200,
      data: {
        id: 100,
        username: 'admin'
      }
    });
  }
};